package
{
	import com.golden.GoldenWebSocket;
	
	import flash.utils.ByteArray;
	import flash.utils.Endian;

	public class FGS12Client extends GoldenWebSocket
	{
		public var commandPop:Array = [];

		public function FGS12Client(dump:Boolean = false)
		{
			//---------------------------------------------------------------------------
			encryptCode = [0xAA, 0x29, 0x73, 0xE8, 0xDD, 0xFB, 0x30, 0x88, 0xC1, 0x85, 0xC7, 0x30, 0x6A, 0xF, 0x93, 0x8A, 0x57, 0xCF, 0x5C, 0xFA, 0x8,
				0x4C, 0x43, 0x38, 0x12, 0x63, 0x90, 0xBD, 0x8F, 0x13, 0x18, 0x7C, 0xA, 0xFD, 0x67, 0x98, 0x5F, 0xDE, 0xA9, 0xEB, 0x76, 0xA5, 0x81, 0x4B,
				0xD7, 0x60, 0x85, 0xFD, 0xCB, 0xEB, 0xD2, 0xA9, 0x68, 0x4D, 0xC5, 0x3, 0xFE, 0xB5, 0xF8, 0x23, 0xA3, 0x40, 0x4A, 0xA5, 0xEA, 0x4F, 0x37,
				0x5F, 0xEC, 0x7B, 0x6A, 0xF1, 0x23, 0x79, 0x6C, 0xF0, 0xA2, 0x77, 0xE9, 0x41, 0x9A, 0x9E, 0x7D, 0xA3, 0xE1, 0x6D, 0x7D, 0x73, 0xF5, 0x7D,
				0x28, 0x1, 0x3D, 0x65, 0x3A, 0x4A, 0x75, 0xDB, 0x1E, 0xE7, 0xD, 0x6A, 0xA5, 0xF2, 0xBF, 0x1F, 0xDF, 0x6A, 0x2D, 0xE7, 0x4B, 0xF0, 0xFF,
				0xDE, 0xC2, 0x56, 0x52, 0x62, 0x18, 0x9, 0x1F, 0xBD, 0x10, 0x7, 0x48, 0x0, 0xD3, 0xD8, 0x18, 0x2C, 0x30, 0x6E, 0xBE, 0x9B, 0x72, 0x2D,
				0x94, 0xE8, 0x3D, 0x6C, 0x83, 0x48, 0x35, 0x6E, 0x62, 0x45, 0x8D, 0xFA, 0x41, 0x9E, 0xAB, 0x7C, 0x7C, 0x9D, 0xFA, 0xAA, 0x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 0xE3, 0xB4, 0x10, 0x91, 0x68, 0x9A, 0x14,
				0x83, 0xE8, 0x68, 0xD9, 0x19, 0x2B, 0xEE, 0xCE, 0xC1, 0x7E, 0x55, 0x20, 0x37, 0x3A, 0x46, 0x0, 0xE6, 0x3E, 0xC7, 0xD1, 0xE7, 0x91, 0x1,
				0x77, 0x75, 0xD0, 0x68, 0x9C, 0x6B, 0xB9, 0x90, 0xA5, 0x3E, 0xD5, 0x94, 0x7, 0x92, 0xAE, 0x1E, 0xA7, 0xDD, 0xD7, 0x2F, 0x49, 0xD6, 0x50,
				0xFD, 0x0, 0x41, 0xAB, 0x15, 0x87, 0xCC, 0x8B, 0x8, 0x24, 0xC6, 0xC, 0x76, 0x35, 0x81, 0x86, 0x80, 0x51, 0xA9];
			//---------------------------------------------------------------------------
			super(dump);
			commandPop[1000] = S2C_EngineerLogin_Inner;
			commandPop[1001] = S2C_SysMessage_Inner;
			commandPop[1002] = S2C_Talk_Inner;
			commandPop[1003] = S2C_SoundMessage_Inner;
			commandPop[1004] = S2C_ImageMessage_Inner;
			commandPop[1005] = S2C_PlayerItem_Inner;
			commandPop[1006] = S2C_ClientDeley_Inner;
			commandPop[1007] = S2C_ClientTime_Inner;
			commandPop[1008] = S2C_InitGame_Inner;
			commandPop[1009] = S2C_StartUp_Inner;
			commandPop[1010] = S2C_LoadingPos_Inner;
			commandPop[1011] = S2C_NowPlayer_Inner;
			commandPop[1012] = S2C_GameOver_Inner;
			commandPop[1013] = S2C_UserDisconnect_Inner;
			commandPop[1014] = S2C_LinkPlayerInfo_Inner;
			commandPop[1015] = S2C_PlayerInfo_Inner;
			commandPop[1016] = S2C_RoundEnd_Inner;
			commandPop[1017] = S2C_Calculation_Inner;
			commandPop[1018] = S2C_CalculationOK_Inner;
			commandPop[1019] = S2C_EventOption_Inner;
			commandPop[1020] = S2C_LEDMessage_Inner;
			commandPop[1021] = S2C_LinkBonus_Inner;
			commandPop[1022] = S2C_TableList_Inner;
			commandPop[1023] = S2C_TableIntoRet_Inner;
			commandPop[1024] = S2C_TableExitRet_Inner;
			commandPop[1025] = S2C_TablePlayerRenew_Inner;
			commandPop[1026] = S2C_PleaseBet_Inner;
			commandPop[1027] = S2C_PlayerBet_Inner;
			commandPop[1028] = S2C_Dealing_Inner;
			commandPop[1029] = S2C_PlayerAsk1_Inner;
			commandPop[1030] = S2C_PlayerDeal_Inner;
			commandPop[1031] = S2C_PlayerInsurance_Inner;
			commandPop[1032] = S2C_PlayerSurrender_Inner;
			commandPop[1033] = S2C_PlayerAsk1End_Inner;
			commandPop[1034] = S2C_PlayerAsk2_Inner;
			commandPop[1035] = S2C_PlayerHit_Inner;
			commandPop[1036] = S2C_PlayerStay_Inner;
			commandPop[1037] = S2C_PlayerDouble_Inner;
			commandPop[1038] = S2C_PlayerSplit_Inner;
			commandPop[1039] = S2C_PlayerCalculation_Inner;
			commandPop[1040] = S2C_BankerHit_Inner;
			commandPop[1041] = S2C_BankerStay_Inner;
			commandPop[1042] = S2C_ViewerAskBet_Inner;
			commandPop[1043] = S2C_ViewerAskRet_Inner;
			commandPop[1044] = S2C_ViewerCalculation_Inner;
			commandPop[1045] = S2C_ViewerInfo_Inner;
			commandPop[1046] = S2C_GetLinkBonus_Inner;
			commandPop[1047] = S2C_MutiMsg_Inner;
			commandPop[1] = S2C_DEFCOMM_Inner;
			commandPop[2] = S2C_DEFPing_Inner;
			commandPop[3] = S2C_DEFPong_Inner;
		}

		override public function action(COMM:Number, ba:ByteArray):void
		{
			if (commandPop[COMM])
			{
				commandPop[COMM](ba);
			}
		}

		// ============================ C2S ====================================
		public function C2S_EngineerLogin(ID:String):void
		{
			var ba:ByteArray = makeByteArray();
			addString(ba, ID);
			pushCommand({COMM: 1000, Data: ba});
		}

		//------------------------------------------------------------------------------
		public function C2S_LoginGame(p:String):void
		{
			var ba:ByteArray = makeByteArray();
			addString(ba, p);
			pushCommand({COMM: 1001, Data: ba});
		}

		//------------------------------------------------------------------------------
		public function C2S_LoadingPos(pos:int):void
		{
			var ba:ByteArray = makeByteArray();
			addInt(ba, pos);
			pushCommand({COMM: 1002, Data: ba});
		}

		//------------------------------------------------------------------------------
		public function C2S_GetPlayerInfo():void
		{
			var ba:ByteArray = makeByteArray();
			pushCommand({COMM: 1003, Data: ba});
		}

		//------------------------------------------------------------------------------
		public function C2S_Talk(str:String):void
		{
			var ba:ByteArray = makeByteArray();
			addString(ba, str);
			pushCommand({COMM: 1004, Data: ba});
		}

		//------------------------------------------------------------------------------
		public function C2S_SoundMessage(No:int):void
		{
			var ba:ByteArray = makeByteArray();
			addInt(ba, No);
			pushCommand({COMM: 1005, Data: ba});
		}

		//------------------------------------------------------------------------------
		public function C2S_ImageMessage(No:int):void
		{
			var ba:ByteArray = makeByteArray();
			addInt(ba, No);
			pushCommand({COMM: 1006, Data: ba});
		}

		//------------------------------------------------------------------------------
		public function C2S_RoundEndOK():void
		{
			var ba:ByteArray = makeByteArray();
			pushCommand({COMM: 1007, Data: ba});
		}

		//------------------------------------------------------------------------------
		public function C2S_CalculationOK(ret:int):void
		{
			var ba:ByteArray = makeByteArray();
			addInt(ba, ret);
			pushCommand({COMM: 1008, Data: ba});
		}

		//------------------------------------------------------------------------------
		public function C2S_ClientLOG(com:int, LOG:String):void
		{
			var ba:ByteArray = makeByteArray();
			addInt(ba, com);
			addString(ba, LOG);
			pushCommand({COMM: 1009, Data: ba});
		}

		//------------------------------------------------------------------------------
		public function C2S_TablegetList(Page:int, MD5Code:int):void
		{
			var ba:ByteArray = makeByteArray();
			addInt(ba, Page);
			addInt(ba, MD5Code);
			pushCommand({COMM: 1010, Data: ba});
		}

		//------------------------------------------------------------------------------
		public function C2S_TableInto(TableNo:int, Pos:int):void
		{
			var ba:ByteArray = makeByteArray();
			addInt(ba, TableNo);
			addInt(ba, Pos);
			pushCommand({COMM: 1011, Data: ba});
		}

		//------------------------------------------------------------------------------
		public function C2S_TableExit():void
		{
			var ba:ByteArray = makeByteArray();
			pushCommand({COMM: 1012, Data: ba});
		}

		//------------------------------------------------------------------------------
		public function C2S_PlayerBet(Point:int):void
		{
			var ba:ByteArray = makeByteArray();
			addInt(ba, Point);
			pushCommand({COMM: 1013, Data: ba});
		}

		//------------------------------------------------------------------------------
		public function C2S_DealingOK():void
		{
			var ba:ByteArray = makeByteArray();
			pushCommand({COMM: 1014, Data: ba});
		}

		//------------------------------------------------------------------------------
		public function C2S_PlayerDeal():void
		{
			var ba:ByteArray = makeByteArray();
			pushCommand({COMM: 1015, Data: ba});
		}

		//------------------------------------------------------------------------------
		public function C2S_PlayerInsurance():void
		{
			var ba:ByteArray = makeByteArray();
			pushCommand({COMM: 1016, Data: ba});
		}

		//------------------------------------------------------------------------------
		public function C2S_PlayerSurrender():void
		{
			var ba:ByteArray = makeByteArray();
			pushCommand({COMM: 1017, Data: ba});
		}

		//------------------------------------------------------------------------------
		public function C2S_PlayerCancel():void
		{
			var ba:ByteArray = makeByteArray();
			pushCommand({COMM: 1018, Data: ba});
		}

		//------------------------------------------------------------------------------
		public function C2S_PlayerSplit():void
		{
			var ba:ByteArray = makeByteArray();
			pushCommand({COMM: 1019, Data: ba});
		}

		//------------------------------------------------------------------------------
		public function C2S_PlayerHit():void
		{
			var ba:ByteArray = makeByteArray();
			pushCommand({COMM: 1020, Data: ba});
		}

		//------------------------------------------------------------------------------
		public function C2S_PlayerStay():void
		{
			var ba:ByteArray = makeByteArray();
			pushCommand({COMM: 1021, Data: ba});
		}

		//------------------------------------------------------------------------------
		public function C2S_PlayerDouble():void
		{
			var ba:ByteArray = makeByteArray();
			pushCommand({COMM: 1022, Data: ba});
		}

		//------------------------------------------------------------------------------
		public function C2S_PlayerCalculationOK():void
		{
			var ba:ByteArray = makeByteArray();
			pushCommand({COMM: 1023, Data: ba});
		}

		//------------------------------------------------------------------------------
		public function C2S_PlayerState(State:uint):void
		{
			var ba:ByteArray = makeByteArray();
			addUByte(ba, State);
			pushCommand({COMM: 1024, Data: ba});
		}

		//------------------------------------------------------------------------------
		public function C2S_ViewerBet(Pos:uint, Point:int):void
		{
			var ba:ByteArray = makeByteArray();
			addUByte(ba, Pos);
			addInt(ba, Point);
			pushCommand({COMM: 1025, Data: ba});
		}

		//------------------------------------------------------------------------------
		public function C2S_JoinSystemTable():void
		{
			var ba:ByteArray = makeByteArray();
			pushCommand({COMM: 1026, Data: ba});
		}

		//------------------------------------------------------------------------------
		public function C2S_EventOption(EventNo:int, Option:int):void
		{
			var ba:ByteArray = makeByteArray();
			addInt(ba, EventNo);
			addInt(ba, Option);
			pushCommand({COMM: 1027, Data: ba});
		}

		//------------------------------------------------------------------------------
		public function C2S_MutiMsg(No:int, Ret:int):void
		{
			var ba:ByteArray = makeByteArray();
			addInt(ba, No);
			addInt(ba, Ret);
			pushCommand({COMM: 1028, Data: ba});
		}

		//------------------------------------------------------------------------------
		public function C2S_DEFCOMM(v1:int, v2:String):void
		{
			var ba:ByteArray = makeByteArray();
			addInt(ba, v1);
			addString(ba, v2);
			pushCommand({COMM: 1, Data: ba});
		}

		//------------------------------------------------------------------------------
		public function C2S_DEFPing():void
		{
			var ba:ByteArray = makeByteArray();
			pushCommand({COMM: 2, Data: ba});
		}

		//------------------------------------------------------------------------------
		public function C2S_DEFPong():void
		{
			var ba:ByteArray = makeByteArray();
			pushCommand({COMM: 3, Data: ba});
		}

		// ============================ S2C ====================================
		public function S2C_EngineerLogin_Inner(ba:ByteArray):void
		{
			var v1:String = loadString(ba);
			S2C_EngineerLogin(v1);
		}

		//------------------------------------------------------------------------------
		public function S2C_SysMessage_Inner(ba:ByteArray):void
		{
			var v1:String = loadString(ba);
			S2C_SysMessage(v1);
		}

		//------------------------------------------------------------------------------
		public function S2C_Talk_Inner(ba:ByteArray):void
		{
			var v1:int    = loadInt(ba);
			var v2:String = loadString(ba);
			S2C_Talk(v1, v2);
		}

		//------------------------------------------------------------------------------
		public function S2C_SoundMessage_Inner(ba:ByteArray):void
		{
			var v1:int = loadInt(ba);
			var v2:int = loadInt(ba);
			S2C_SoundMessage(v1, v2);
		}

		//------------------------------------------------------------------------------
		public function S2C_ImageMessage_Inner(ba:ByteArray):void
		{
			var v1:int = loadInt(ba);
			var v2:int = loadInt(ba);
			S2C_ImageMessage(v1, v2);
		}

		//------------------------------------------------------------------------------
		public function S2C_PlayerItem_Inner(ba:ByteArray):void
		{
			var v1:int   = loadInt(ba);
			var v2:uint  = loadUByte(ba);
			var v3:Array = loadIntArray(ba);
			var v4:Array = loadUByteArray(ba);
			S2C_PlayerItem(v1, v2, v3, v4);
		}

		//------------------------------------------------------------------------------
		public function S2C_ClientDeley_Inner(ba:ByteArray):void
		{
			var v1:int = loadInt(ba);
			var v2:int = loadInt(ba);
			S2C_ClientDeley(v1, v2);
		}

		//------------------------------------------------------------------------------
		public function S2C_ClientTime_Inner(ba:ByteArray):void
		{
			var v1:int = loadInt(ba);
			S2C_ClientTime(v1);
		}

		//------------------------------------------------------------------------------
		public function S2C_InitGame_Inner(ba:ByteArray):void
		{
			var v1:int    = loadInt(ba);
			var v2:String = loadString(ba);
			var v3:String = loadString(ba);
			S2C_InitGame(v1, v2, v3);
		}

		//------------------------------------------------------------------------------
		public function S2C_StartUp_Inner(ba:ByteArray):void
		{
			var v1:String = loadString(ba);
			S2C_StartUp(v1);
		}

		//------------------------------------------------------------------------------
		public function S2C_LoadingPos_Inner(ba:ByteArray):void
		{
			var v1:int   = loadInt(ba);
			var v2:Array = loadIntArray(ba);
			var v3:Array = loadIntArray(ba);
			S2C_LoadingPos(v1, v2, v3);
		}

		//------------------------------------------------------------------------------
		public function S2C_NowPlayer_Inner(ba:ByteArray):void
		{
			var v1:int = loadInt(ba);
			S2C_NowPlayer(v1);
		}

		//------------------------------------------------------------------------------
		public function S2C_GameOver_Inner(ba:ByteArray):void
		{
			S2C_GameOver();
		}

		//------------------------------------------------------------------------------
		public function S2C_UserDisconnect_Inner(ba:ByteArray):void
		{
			var v1:int = loadInt(ba);
			S2C_UserDisconnect(v1);
		}

		//------------------------------------------------------------------------------
		public function S2C_LinkPlayerInfo_Inner(ba:ByteArray):void
		{
			var v1:int    = loadInt(ba);
			var v2:int    = loadInt(ba);
			var v3:String = loadString(ba);
			S2C_LinkPlayerInfo(v1, v2, v3);
		}

		//------------------------------------------------------------------------------
		public function S2C_PlayerInfo_Inner(ba:ByteArray):void
		{
			var v1:int    = loadInt(ba);
			var v2:String = loadString(ba);
			S2C_PlayerInfo(v1, v2);
		}

		//------------------------------------------------------------------------------
		public function S2C_RoundEnd_Inner(ba:ByteArray):void
		{
			var v1:String = loadString(ba);
			S2C_RoundEnd(v1);
		}

		//------------------------------------------------------------------------------
		public function S2C_Calculation_Inner(ba:ByteArray):void
		{
			var v1:String = loadString(ba);
			S2C_Calculation(v1);
		}

		//------------------------------------------------------------------------------
		public function S2C_CalculationOK_Inner(ba:ByteArray):void
		{
			var v1:int = loadInt(ba);
			var v2:int = loadInt(ba);
			S2C_CalculationOK(v1, v2);
		}

		//------------------------------------------------------------------------------
		public function S2C_EventOption_Inner(ba:ByteArray):void
		{
			var v1:int = loadInt(ba);
			var v2:int = loadInt(ba);
			S2C_EventOption(v1, v2);
		}

		//------------------------------------------------------------------------------
		public function S2C_LEDMessage_Inner(ba:ByteArray):void
		{
			var v1:String = loadString(ba);
			var v2:int    = loadInt(ba);
			S2C_LEDMessage(v1, v2);
		}

		//------------------------------------------------------------------------------
		public function S2C_LinkBonus_Inner(ba:ByteArray):void
		{
			var v1:int = loadInt(ba);
			S2C_LinkBonus(v1);
		}

		//------------------------------------------------------------------------------
		public function S2C_TableList_Inner(ba:ByteArray):void
		{
			var v1:int       = loadInt(ba);
			var v2:ByteArray = loadBuffer(ba);
			var v3:int       = loadInt(ba);
			S2C_TableList(v1, v2, v3);
		}

		//------------------------------------------------------------------------------
		public function S2C_TableIntoRet_Inner(ba:ByteArray):void
		{
			var v1:int       = loadInt(ba);
			var v2:int       = loadInt(ba);
			var v3:int       = loadInt(ba);
			var v4:ByteArray = loadBuffer(ba);
			S2C_TableIntoRet(v1, v2, v3, v4);
		}

		//------------------------------------------------------------------------------
		public function S2C_TableExitRet_Inner(ba:ByteArray):void
		{
			var v1:int = loadInt(ba);
			var v2:int = loadInt(ba);
			S2C_TableExitRet(v1, v2);
		}

		//------------------------------------------------------------------------------
		public function S2C_TablePlayerRenew_Inner(ba:ByteArray):void
		{
			var v1:uint   = loadUByte(ba);
			var v2:String = loadString(ba);
			var v3:String = loadString(ba);
			var v4:uint   = loadUByte(ba);
			var v5:uint   = loadUByte(ba);
			S2C_TablePlayerRenew(v1, v2, v3, v4, v5);
		}

		//------------------------------------------------------------------------------
		public function S2C_PleaseBet_Inner(ba:ByteArray):void
		{
			S2C_PleaseBet();
		}

		//------------------------------------------------------------------------------
		public function S2C_PlayerBet_Inner(ba:ByteArray):void
		{
			var v1:uint = loadUByte(ba);
			var v2:int  = loadInt(ba);
			S2C_PlayerBet(v1, v2);
		}

		//------------------------------------------------------------------------------
		public function S2C_Dealing_Inner(ba:ByteArray):void
		{
			var v1:uint  = loadUByte(ba);
			var v2:Array = loadUByteArray(ba);
			var v3:Array = loadUByteArray(ba);
			var v4:Array = loadUByteArray(ba);
			var v5:Array = loadUByteArray(ba);
			S2C_Dealing(v1, v2, v3, v4, v5);
		}

		//------------------------------------------------------------------------------
		public function S2C_PlayerAsk1_Inner(ba:ByteArray):void
		{
			var v1:uint = loadUByte(ba);
			var v2:uint = loadUByte(ba);
			var v3:uint = loadUByte(ba);
			S2C_PlayerAsk1(v1, v2, v3);
		}

		//------------------------------------------------------------------------------
		public function S2C_PlayerDeal_Inner(ba:ByteArray):void
		{
			var v1:uint = loadUByte(ba);
			var v2:int  = loadInt(ba);
			S2C_PlayerDeal(v1, v2);
		}

		//------------------------------------------------------------------------------
		public function S2C_PlayerInsurance_Inner(ba:ByteArray):void
		{
			var v1:uint = loadUByte(ba);
			var v2:int  = loadInt(ba);
			S2C_PlayerInsurance(v1, v2);
		}

		//------------------------------------------------------------------------------
		public function S2C_PlayerSurrender_Inner(ba:ByteArray):void
		{
			var v1:uint = loadUByte(ba);
			var v2:int  = loadInt(ba);
			S2C_PlayerSurrender(v1, v2);
		}

		//------------------------------------------------------------------------------
		public function S2C_PlayerAsk1End_Inner(ba:ByteArray):void
		{
			S2C_PlayerAsk1End();
		}

		//------------------------------------------------------------------------------
		public function S2C_PlayerAsk2_Inner(ba:ByteArray):void
		{
			var v1:uint = loadUByte(ba);
			var v2:uint = loadUByte(ba);
			var v3:uint = loadUByte(ba);
			var v4:uint = loadUByte(ba);
			var v5:uint = loadUByte(ba);
			var v6:uint = loadUByte(ba);
			S2C_PlayerAsk2(v1, v2, v3, v4, v5, v6);
		}

		//------------------------------------------------------------------------------
		public function S2C_PlayerHit_Inner(ba:ByteArray):void
		{
			var v1:uint  = loadUByte(ba);
			var v2:uint  = loadUByte(ba);
			var v3:uint  = loadUByte(ba);
			var v4:Array = loadUByteArray(ba);
			S2C_PlayerHit(v1, v2, v3, v4);
		}

		//------------------------------------------------------------------------------
		public function S2C_PlayerStay_Inner(ba:ByteArray):void
		{
			var v1:uint  = loadUByte(ba);
			var v2:uint  = loadUByte(ba);
			var v3:Array = loadUByteArray(ba);
			S2C_PlayerStay(v1, v2, v3);
		}

		//------------------------------------------------------------------------------
		public function S2C_PlayerDouble_Inner(ba:ByteArray):void
		{
			var v1:uint = loadUByte(ba);
			var v2:uint = loadUByte(ba);
			S2C_PlayerDouble(v1, v2);
		}

		//------------------------------------------------------------------------------
		public function S2C_PlayerSplit_Inner(ba:ByteArray):void
		{
			var v1:uint = loadUByte(ba);
			S2C_PlayerSplit(v1);
		}

		//------------------------------------------------------------------------------
		public function S2C_PlayerCalculation_Inner(ba:ByteArray):void
		{
			var v1:uint = loadUByte(ba);
			var v2:uint = loadUByte(ba);
			var v3:int  = loadInt(ba);
			S2C_PlayerCalculation(v1, v2, v3);
		}

		//------------------------------------------------------------------------------
		public function S2C_BankerHit_Inner(ba:ByteArray):void
		{
			var v1:uint  = loadUByte(ba);
			var v2:Array = loadUByteArray(ba);
			S2C_BankerHit(v1, v2);
		}

		//------------------------------------------------------------------------------
		public function S2C_BankerStay_Inner(ba:ByteArray):void
		{
			var v1:Array = loadUByteArray(ba);
			S2C_BankerStay(v1);
		}

		//------------------------------------------------------------------------------
		public function S2C_ViewerAskBet_Inner(ba:ByteArray):void
		{
			var v1:Array = loadUByteArray(ba);
			S2C_ViewerAskBet(v1);
		}

		//------------------------------------------------------------------------------
		public function S2C_ViewerAskRet_Inner(ba:ByteArray):void
		{
			var v1:uint = loadUByte(ba);
			S2C_ViewerAskRet(v1);
		}

		//------------------------------------------------------------------------------
		public function S2C_ViewerCalculation_Inner(ba:ByteArray):void
		{
			var v1:int = loadInt(ba);
			var v2:int = loadInt(ba);
			var v3:int = loadInt(ba);
			S2C_ViewerCalculation(v1, v2, v3);
		}

		//------------------------------------------------------------------------------
		public function S2C_ViewerInfo_Inner(ba:ByteArray):void
		{
			var v1:Array = loadIntArray(ba);
			var v2:uint  = loadUByte(ba);
			var v3:int   = loadInt(ba);
			S2C_ViewerInfo(v1, v2, v3);
		}

		//------------------------------------------------------------------------------
		public function S2C_GetLinkBonus_Inner(ba:ByteArray):void
		{
			var v1:int    = loadInt(ba);
			var v2:uint   = loadUByte(ba);
			var v3:uint   = loadUByte(ba);
			var v4:String = loadString(ba);
			var v5:String = loadString(ba);
			var v6:int    = loadInt(ba);
			S2C_GetLinkBonus(v1, v2, v3, v4, v5, v6);
		}

		//------------------------------------------------------------------------------
		public function S2C_MutiMsg_Inner(ba:ByteArray):void
		{
			var v1:int    = loadInt(ba);
			var v2:String = loadString(ba);
			var v3:String = loadString(ba);
			S2C_MutiMsg(v1, v2, v3);
		}

		//------------------------------------------------------------------------------
		public function S2C_DEFCOMM_Inner(ba:ByteArray):void
		{
			var v1:int    = loadInt(ba);
			var v2:String = loadString(ba);
			S2C_DEFCOMM(v1, v2);
		}

		//------------------------------------------------------------------------------
		public function S2C_DEFPing_Inner(ba:ByteArray):void
		{
			S2C_DEFPing();
		}

		//------------------------------------------------------------------------------
		public function S2C_DEFPong_Inner(ba:ByteArray):void
		{
			S2C_DEFPong();
		}

		// ==================== S2C abstact function  =============================
		public function S2C_EngineerLogin(option:String):void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_SysMessage(msg:String):void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_Talk(SID:int, msg:String):void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_SoundMessage(SID:int, No:int):void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_ImageMessage(SID:int, No:int):void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_PlayerItem(SID:int, Count:uint, ItemList:Array, ItemCount:Array):void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_ClientDeley(SID:int, option:int):void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_ClientTime(Times:int):void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_InitGame(SID:int, ID:String, Option:String):void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_StartUp(Option:String):void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_LoadingPos(Total:int, SID:Array, Pos:Array):void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_NowPlayer(SID:int):void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_GameOver():void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_UserDisconnect(SID:int):void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_LinkPlayerInfo(Pos:int, SID:int, Option:String):void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_PlayerInfo(SID:int, Option:String):void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_RoundEnd(Option:String):void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_Calculation(Option:String):void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_CalculationOK(SID:int, ret:int):void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_EventOption(EventNo:int, Option:int):void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_LEDMessage(Msg:String, Sec:int):void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_LinkBonus(Bonus:int):void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_TableList(Page:int, Option:ByteArray, MD5:uint):void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_TableIntoRet(Ret:int, TableNo:int, Pos:int, Option:ByteArray):void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_TableExitRet(Ret:int, TableNo:int):void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_TablePlayerRenew(Pos:uint, ID:String, Nickname:String, ModelNo:uint, State:uint):void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_PleaseBet():void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_PlayerBet(Pos:uint, Point:int):void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_Dealing(BankPoker:uint, Poker1:Array, Poker2:Array, PokerPoint1:Array, PokerPoint2:Array):void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_PlayerAsk1(Deal:uint, Insurance:uint, Surrender:uint):void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_PlayerDeal(Pos:uint, Point:int):void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_PlayerInsurance(Pos:uint, Point:int):void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_PlayerSurrender(Pos:uint, Point:int):void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_PlayerAsk1End():void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_PlayerAsk2(Pos:uint, SplitNo:uint, Hit:uint, Stay:uint, Double:uint, Split:uint):void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_PlayerHit(Pos:uint, Split:uint, Poker:uint, PokerPoint:Array):void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_PlayerStay(Pos:uint, Split:uint, PokerPoint:Array):void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_PlayerDouble(Pos:uint, Split:uint):void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_PlayerSplit(Pos:uint):void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_PlayerCalculation(Pos:uint, Split:uint, Point:int):void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_BankerHit(Poker:uint, PokerPoint:Array):void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_BankerStay(PokerPoint:Array):void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_ViewerAskBet(Pos:Array):void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_ViewerAskRet(Ret:uint):void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_ViewerCalculation(Point:int, Total:int, SubTotal:int):void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_ViewerInfo(Popularity:Array, ViewerCount:uint, ViewerBet:int):void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_GetLinkBonus(TableNo:int, Pos:uint, Split:uint, ID:String, Name:String, Point:int):void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_MutiMsg(No:int, Msg:String, Select:String):void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_DEFCOMM(com:int, p:String):void
		{
		}

		//------------------------------------------------------------------------------
		public function S2C_DEFPing():void
		{
			//C2S_DEFPong;
		}

		//------------------------------------------------------------------------------
		public function S2C_DEFPong():void
		{
		}
		//------------------------------------------------------------------------------
	}
} //client.S2C_EngineerLogin = S2C_EngineerLogin;
//client.S2C_SysMessage = S2C_SysMessage;
//client.S2C_Talk = S2C_Talk;
//client.S2C_SoundMessage = S2C_SoundMessage;
//client.S2C_ImageMessage = S2C_ImageMessage;
//client.S2C_PlayerItem = S2C_PlayerItem;
//client.S2C_ClientDeley = S2C_ClientDeley;
//client.S2C_ClientTime = S2C_ClientTime;
//client.S2C_InitGame = S2C_InitGame;
//client.S2C_StartUp = S2C_StartUp;
//client.S2C_LoadingPos = S2C_LoadingPos;
//client.S2C_NowPlayer = S2C_NowPlayer;
//client.S2C_GameOver = S2C_GameOver;
//client.S2C_UserDisconnect = S2C_UserDisconnect;
//client.S2C_LinkPlayerInfo = S2C_LinkPlayerInfo;
//client.S2C_PlayerInfo = S2C_PlayerInfo;
//client.S2C_RoundEnd = S2C_RoundEnd;
//client.S2C_Calculation = S2C_Calculation;
//client.S2C_CalculationOK = S2C_CalculationOK;
//client.S2C_EventOption = S2C_EventOption;
//client.S2C_LEDMessage = S2C_LEDMessage;
//client.S2C_LinkBonus = S2C_LinkBonus;
//client.S2C_TableList = S2C_TableList;
//client.S2C_TableIntoRet = S2C_TableIntoRet;
//client.S2C_TableExitRet = S2C_TableExitRet;
//client.S2C_TablePlayerRenew = S2C_TablePlayerRenew;
//client.S2C_PleaseBet = S2C_PleaseBet;
//client.S2C_PlayerBet = S2C_PlayerBet;
//client.S2C_Dealing = S2C_Dealing;
//client.S2C_PlayerAsk1 = S2C_PlayerAsk1;
//client.S2C_PlayerDeal = S2C_PlayerDeal;
//client.S2C_PlayerInsurance = S2C_PlayerInsurance;
//client.S2C_PlayerSurrender = S2C_PlayerSurrender;
//client.S2C_PlayerAsk1End = S2C_PlayerAsk1End;
//client.S2C_PlayerAsk2 = S2C_PlayerAsk2;
//client.S2C_PlayerHit = S2C_PlayerHit;
//client.S2C_PlayerStay = S2C_PlayerStay;
//client.S2C_PlayerDouble = S2C_PlayerDouble;
//client.S2C_PlayerSplit = S2C_PlayerSplit;
//client.S2C_PlayerCalculation = S2C_PlayerCalculation;
//client.S2C_BankerHit = S2C_BankerHit;
//client.S2C_BankerStay = S2C_BankerStay;
//client.S2C_ViewerAskBet = S2C_ViewerAskBet;
//client.S2C_ViewerAskRet = S2C_ViewerAskRet;
//client.S2C_ViewerCalculation = S2C_ViewerCalculation;
//client.S2C_ViewerInfo = S2C_ViewerInfo;
//client.S2C_GetLinkBonus = S2C_GetLinkBonus;
//client.S2C_MutiMsg = S2C_MutiMsg;
